﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using CapaNegocio;

namespace CapaWeb
{
    public partial class MenuAvisoEmail : System.Web.UI.Page
    {
        Admin admin = new Admin();
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        //METODO QUE ENVIA EMAILS A CLIENTES SEGUN SU EMAIL
        //PROBAMOS SOLO CON CLIENTE CON EMAIL DE GMAIL
        protected void Button1_Click(object sender, EventArgs e)
        {
            string mensaje = TextBox1.Text;
            admin.envioDeEmail(mensaje);
        }
    }
}
